package news.service;

import news.dao.AddTopicImpl;
import news.dao.IAddTopicDao;

/**
 * @author JiangJ
 * @date 2022/3/2 20:17
 */
public class AddTopicServiceImpl implements IAddTopicService {
    private final IAddTopicDao iAddTopicDao=new AddTopicImpl();
    /**
     * 增加
     *
     * @param topicName
     */
    @Override
    public void addTopic(String topicName) {
        iAddTopicDao.addTopic(topicName);
    }
}
